package gwt.immunology.client.view;

import gwt.immunology.shared.GenericDto;
import gwt.immunology.shared.ResultSetDto;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface AllPatientsView extends IsWidget {
    void setPresenter(Presenter presenter);
    
    void setPatients(ResultSetDto patients, Long patientsCount);

    void hideViewEditPatientBox();

    public interface Presenter {
        void goTo(Place place);

        void getAllPatients();
        
        void deletePatient(Long patientId);

        void updatePatientInfo(GenericDto patient);
    }
}
